{% extends "bootstrap/base.html" %}
{% import "bootstrap/wtf.html" as wtf%}
{% import "tools.html" as tools %}

{% block title %}注册{% endblock %}

{% block nav %}
{{ tools.nav }}
{% endblock %}

{% block content %}

<div class="container" style="padding-top: 50px; margin: 0 auto;max-width: 330px;">
    {% for message in get_flashed_messages() %}
    <div class="alert alert-warning alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        {{ message }}
    </div>
    {% endfor %}
    <h1>注册</h1>
    <div style="opacity:1;">
        {{ wtf.quick_form(form) }}
    </div>
</div>

{% endblock %}